local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1
L0_1 = {}
L0_1.group_id = 250015028
L1_1 = {}
L2_1 = {}
L2_1.config_id = 28001
L2_1.monster_id = 20011201
L3_1 = {}
L3_1.x = 1556.284
L3_1.y = 288.568
L3_1.z = 690.275
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 4.71
L3_1.y = 260.594
L3_1.z = 345.062
L2_1.rot = L3_1
L2_1.level = 1
L2_1.drop_id = 1000100
L2_1.disableWander = true
L3_1 = {}
L3_1.config_id = 28002
L3_1.monster_id = 20011201
L4_1 = {}
L4_1.x = 1552.675
L4_1.y = 287.186
L4_1.z = 693.356
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 350.807
L4_1.y = 208.187
L4_1.z = 347.284
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L4_1.config_id = 28003
L4_1.monster_id = 20011201
L5_1 = {}
L5_1.x = 1551.326
L5_1.y = 288.715
L5_1.z = 687.593
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 13.744
L5_1.y = 304.329
L5_1.z = 352.449
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.disableWander = true
L5_1 = {}
L5_1.config_id = 28011
L5_1.monster_id = 20011401
L6_1 = {}
L6_1.x = 1498.54
L6_1.y = 252.23
L6_1.z = 731.514
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 353.663
L6_1.y = 241.238
L6_1.z = 7.691
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L5_1.disableWander = true
L6_1 = {}
L6_1.config_id = 28013
L6_1.monster_id = 20011401
L7_1 = {}
L7_1.x = 1496.216
L7_1.y = 252.432
L7_1.z = 730.969
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 350.059
L7_1.y = 294.765
L7_1.z = 359.518
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L6_1.disableWander = true
L7_1 = {}
L7_1.config_id = 28014
L7_1.monster_id = 20011401
L8_1 = {}
L8_1.x = 1497.615
L8_1.y = 252.625
L8_1.z = 733.873
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 1.092
L8_1.y = 195.741
L8_1.z = 9.893
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L7_1.disableWander = true
L8_1 = {}
L8_1.config_id = 28015
L8_1.monster_id = 20011401
L9_1 = {}
L9_1.x = 1495.25
L9_1.y = 252.637
L9_1.z = 733.36
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 1.092
L9_1.y = 195.741
L9_1.z = 9.893
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L8_1.disableWander = true
L9_1 = {}
L9_1.config_id = 28016
L9_1.monster_id = 20010501
L10_1 = {}
L10_1.x = 1538.951
L10_1.y = 272.469
L10_1.z = 719.177
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 261.216
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L9_1.disableWander = true
L10_1 = {}
L10_1.config_id = 28017
L10_1.monster_id = 20010501
L11_1 = {}
L11_1.x = 1536.671
L11_1.y = 273.615
L11_1.z = 713.4
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 2.061
L11_1.y = 240.765
L11_1.z = 346.216
L10_1.rot = L11_1
L10_1.level = 1
L10_1.drop_id = 1000100
L10_1.disableWander = true
L11_1 = {}
L11_1.config_id = 28018
L11_1.monster_id = 20010501
L12_1 = {}
L12_1.x = 1535.138
L12_1.y = 272.166
L12_1.z = 718.795
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 2.061
L12_1.y = 240.765
L12_1.z = 346.216
L11_1.rot = L12_1
L11_1.level = 1
L11_1.drop_id = 1000100
L11_1.disableWander = true
L12_1 = {}
L12_1.config_id = 28019
L12_1.monster_id = 20010501
L13_1 = {}
L13_1.x = 1540.605
L13_1.y = 273.995
L13_1.z = 714.248
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 2.061
L13_1.y = 240.765
L13_1.z = 346.216
L12_1.rot = L13_1
L12_1.level = 1
L12_1.drop_id = 1000100
L12_1.disableWander = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 28004
L2_1.gadget_id = 70360005
L3_1 = {}
L3_1.x = 1556.811
L3_1.y = 290.465
L3_1.z = 684.395
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 15.282
L3_1.y = 0.628
L3_1.z = 4.676
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 28005
L3_1.gadget_id = 70360025
L4_1 = {}
L4_1.x = 1471.378
L4_1.y = 261.794
L4_1.z = 756.719
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 12.69
L4_1.y = 0.118
L4_1.z = 1.058
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 28006
L4_1.gadget_id = 70900201
L5_1 = {}
L5_1.x = 1471.42
L5_1.y = 261.798
L5_1.z = 756.704
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 12.69
L5_1.y = 0.118
L5_1.z = 1.058
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 28012
L5_1.gadget_id = 70300057
L6_1 = {}
L6_1.x = 1496.832
L6_1.y = 252.409
L6_1.z = 732.157
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 356.469
L6_1.y = 1.39
L6_1.z = 350.689
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 28020
L6_1.gadget_id = 70300057
L7_1 = {}
L7_1.x = 1537.599
L7_1.y = 272.958
L7_1.z = 716.744
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 356.469
L7_1.y = 1.39
L7_1.z = 350.689
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 28021
L7_1.gadget_id = 70220005
L8_1 = {}
L8_1.x = 1496.832
L8_1.y = 252.409
L8_1.z = 732.157
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 356.469
L8_1.y = 1.39
L8_1.z = 350.689
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 28022
L8_1.gadget_id = 70300057
L9_1 = {}
L9_1.x = 1552.782
L9_1.y = 287.972
L9_1.z = 690.522
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 356.469
L9_1.y = 1.39
L9_1.z = 350.689
L8_1.rot = L9_1
L8_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 28007
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 3
L3_1 = {}
L3_1.x = 1471.42
L3_1.y = 261.798
L3_1.z = 756.704
L2_1.pos = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1028007
L2_1.name = "ENTER_REGION_28007"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_28007"
L2_1.action = ""
L2_1.tag = "666"
L2_1.forbid_guest = false
L3_1 = {}
L3_1.config_id = 1028008
L3_1.name = "CHALLENGE_SUCCESS_28008"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_SUCCESS
L3_1.event = L4_1
L3_1.source = "888"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_SUCCESS_28008"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1028009
L4_1.name = "CHALLENGE_FAIL_28009"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_FAIL
L4_1.event = L5_1
L4_1.source = "888"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_FAIL_28009"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1028010
L5_1.name = "GADGET_STATE_CHANGE_28010"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_28010"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_28010"
L5_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 28004
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_28010"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 28001
L6_1 = 28002
L7_1 = 28003
L8_1 = 28011
L9_1 = 28013
L10_1 = 28014
L11_1 = 28015
L12_1 = 28016
L13_1 = 28017
L14_1 = 28018
L15_1 = 28019
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L4_1[11] = L15_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 28005
L6_1 = 28006
L7_1 = 28012
L8_1 = 28020
L9_1 = 28021
L10_1 = 28022
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 28007
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_28007"
L6_1 = "CHALLENGE_SUCCESS_28008"
L7_1 = "CHALLENGE_FAIL_28009"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 28007 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_28007 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 250015028
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 28004
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_28008 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 250015028
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 28004
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_FAIL_28009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 28004 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearStart
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_28010 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 250015028
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 888
  L5_2 = 189
  L6_2 = 15
  L7_2 = 4
  L8_2 = 666
  L9_2 = 3
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : active_challenge"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_28010 = L1_1
